package com.lizardmind.haofudoctor.ui.studio

import android.os.Bundle
import android.view.View
import com.linxiao.framework.activity.BaseActivity
import com.linxiao.framework.util.getDataBinding
import com.lizardmind.haofudoctor.R
import com.lizardmind.haofudoctor.databinding.ActivityKaiFangGouYaoBinding
import kotlinx.android.synthetic.main.include_title_text.*
import org.jetbrains.anko.sdk25.coroutines.onClick

class KaiFangGouYaoActivity : BaseActivity() {

    private val bingding by lazy { getDataBinding<ActivityKaiFangGouYaoBinding>(R.layout.activity_kai_fang_gou_yao) }
    override fun onCreatRootView(): View? {
        return bingding.root
    }

    override fun onInitView(savedInstanceState: Bundle?) {
        imgLeft.setImageResource(R.mipmap.back)
        imgLeft.onClick { finish() }
        titleText.text="开方购药"
    }

}
